package week2;

public class PersonStudent extends Person{
    private String classroom;

    
    public PersonStudent(int id, String name, int age, String gender, String classroom) {
        super(id, name, age, gender);
        this.classroom = classroom;
    }

    @Override
    public String toString() {
        return "PersonStudent{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", classroom='" + classroom + '\'' +
                '}';
    }
}
